<template>
  <div class="bi-card">
    Row
  </div>
</template>
<script>

export default {
  name: 'YsRow',
  props: {
    title: {
      type: String,
      default: 'Card  标题'
    },
    desc: {
      type: [String, Array],
      default: ''
    },
    subtitle: {
      type: String,
      default: ''
    }
  },
  computed: {
    tips() {
      if (!props.desc) return []
      if (typeof props.desc === 'string') return [{ desc: props.desc }]
      if (Array.isArray(props.desc)) return props.desc
      return []
    }
  }
}

</script>
